package com.example.retrofit;

import okhttp3.ResponseBody;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Path;

import java.util.List;

/**
 * @author shanchong
 * @date 2019-07-10
 **/
public interface GithubService {

    @GET(value = "/users/{user}/repos")
    Call<List<Repos>> listRepos(@Path(value = "user")String user);

}
